#!/usr/bin/env python
# -*- coding: utf-8 -*-

from views import page

import tests


def main():
    user = 'admin'
    # user = 'user1@comp1'
    # user = 'u1'
    password = '123456'

    tests.user.login(user, password)
    tests.saleOrder.test()

    # tests.user.test()
    # api.env['res.company'].test()

    # tests.accountMoveLine.test()

    # tests.resPartner.test()
    # tests.accountMove.test()

    # tests.resPartnerCompany.test()
    # tests.resPartnerCompanyCustomer.test()
    # tests.productTemplate.test()

    # tests.saleOrder.test()
    # tests.purchaseOrder.test()

    # tests.irTranslation.test()

    # api.env['res.partner.company'].test()

    # api.env['product.category'].test()

    # api.env['res.config.settings'].test()

    # api.env['account.chart.template'].test()
    # api.env['accounting.report.balancesheet'].test_report()
    # api.env['accounting.report.profitandloss'].test_report()
    # api.env['account.report.general.ledger'].test_report()
    # api.env['account.report.partner.ledger'].test_report()
    # api.env['account.report.partner.ledger.customer'].test_report()
    # api.env['account.report.partner.ledger.supplier'].test_report()
    # api.env['account.balance.report'].test_report()
if __name__ == "__main__":

    main()
